import request from '@/utils/request'

// 查询模型列表
export function listModel(query) {
  return request({
    url: '/modeler/list',
    method: 'post',
    params: query
  })
}
// 部署模型
export function deployModel(query) {
  return request({
    url: 'modeler/deploy/'+query,
    params: query
  })
}
// 删除模型
export function removeModel(query) {
  return request({
    url: 'modeler/remove',
    method: 'post',
    params: query
  })
}
// 导出模型
export function exportModel() {
  return request({
    url: 'modeler/export/'
  })
}
